package com.clever.mall.commons.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SearchRequestParam {
    private Integer searchId;

    /**
     * 搜索的关键词
     */
    private String word;

    /**
     * 对应的用户
     */
    private Integer userId;

    /**
     * 搜索的次数 默认为1
     */
    private Integer count;

    /**
     * 是否删除 默认为1
     */
    private Integer isDelete;

    public SearchRequestParam(String word,Integer userId){
        this.word=word;
        this.userId=userId;
    }
}
